#include <AT89X52.h>


void Delay()
{
unsigned int a;
for (a=60000;a>0;a--)
{}
}

/*char keyScan()
{
	char x,y;
	P2=0x0f;
	x=P2&0x0f;
	if(x!=0x0f)
		{
			if(x!=0x0f)
				{
					x=P2&0x0f;
					P2=x|0xf0;
					y=P2&0xf0;
					return(x+y);
				}		
		}
		return(0xff);
}*/
